package top.haichi.webpaper.controller;


import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
import top.haichi.webpaper.entity.Result;

@RestController
@Slf4j
public class TestController {


    @PostMapping ("/user/test")
    public Result userTest(){
        return Result.success("test");
    }
}
